from django.shortcuts import render_to_response
from django.http import HttpResponse
from info.models import Mydog
# Create your views here.
def dog(request):
    kv = Mydog.objects.raw('select * from info_mydog  order by price limit 10')
    lei = Mydog.objects.raw('select * from info_mydog group by breed')
    return render_to_response('charts.html',{'m':kv,'line':'dog'})
